import request from "./request"
//登录
export const LoginApi=(data)=>request.post(`/admin/auth/login`,data)
//获取用户登录信息
export const GetUserByTokenApi=(data)=>request.post(`/admin/auth/getUserByToken`,data)
//查询商品接口
export const AdminGoodsApi=(params)=>request.get(`/admin/goods`,{params})
//上传图片
export const UploadGoodPicApi=(data)=>request.post(`/admin/upload/goodNewPic`,data)
//获取图表运营数据
export const GetStatApi=(params)=>request.get(`/admin/stat`,{params})